package com.gitee.proxy.common;

import lombok.Data;

import java.net.Proxy;

/**
 * 代理地址
 */
@Data
public class ProxyAddress {

    private String ip;
    private int port;
    private Proxy.Type type;

    public ProxyAddress() {

    }

    public ProxyAddress(String ip, int port, Proxy.Type type) {
        this.ip = ip;
        this.port = port;
        this.type = type;
    }
}
